package android.gpsmessenger;

import android.app.Activity;

public class MessengerLocator 
{	
	public Messenger createMessenger(Activity activity, String type)
	{
		if (type.equals("email"))
			return new EmailMessenger(activity);
		else if (type.equals("text"))
			return new TextMessenger(activity);
		return null;
	}
}
